package cn.iocoder.yudao.framework.business.audit.controller;

import cn.iocoder.yudao.framework.business.audit.pojo.form.AuditSaveDTO;
import cn.iocoder.yudao.framework.common.pojo.CommonResult;
import cn.iocoder.yudao.framework.validation.groups.UpdateGroup;
import io.swagger.v3.oas.annotations.Operation;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@Validated
public interface AuditController {

    @PostMapping("/update-audit")
    @Operation(summary = "审核")
    CommonResult<Boolean> updateAudit(@Validated(value = UpdateGroup.class) @RequestBody AuditSaveDTO reqVO);

}
